package com.meilai.project.dto.business.workbench;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;
import java.util.List;

@Data
public class VisitRecordDTO {
    @ApiModelProperty("客户ID")
    private Long id;

    /**
     * 跟进时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate follow_time;

    /**
     * 对接人
     */
    private String opposite_person;

    /**
     * 联系方式
     */
    private String phone;

    /**
     * 达成成果
     */
    private String achievements;

    /**
     * todo 原推荐理由
     * 拜访目的
     */
    private String reasons_for_recommendation;

    @ApiModelProperty("推进动作")
    private List<Long> action_list;

    @ApiModelProperty("推荐资源")
    private List<Long> resource_list;

    @ApiModelProperty("照片")
    private List<String> url_list;
}
